package com.dudu.util;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by dudu on 16/8/12.
 */
@Data
@NoArgsConstructor
public class SimpleNode implements Serializable {

    private static final long serialVersionUID = 3294211464674244661L;

    private Long id;

    private String name;

    private boolean checked;

    public SimpleNode(Long id, String name, boolean checked) {
        this.id = id;
        this.name = name;
        this.checked = checked;
    }

}
